import React from 'react'
import { useParams } from 'react-router-dom'
export default function Detail(props) {
  const params = useParams()
  return (
    <h5>
      detail的内容~~~
      <span>{params.id}</span>
    </h5>
  )
}
